package com.example.zsf.model;

import android.os.Parcel;
import android.os.Parcelable;

import java.util.List;

public class MobileDetailModel {
    private String ads_id;
    private String ads_name;
    private String ads_ip;
    private String ads_xl;
    private String ads_js;
    private String ads_qq;
    private String ads_url;
    private String gift_price;
    private String gift_last_num;
    private String ads_follow;
    private String gift_start_time;
    private List<BannerImageInfo> ads_img;
    private MobileDetailCollectedRecordListModel rcv_data;

    public String getAds_id() {
        return ads_id;
    }

    public void setAds_id(String ads_id) {
        this.ads_id = ads_id;
    }

    public String getAds_name() {
        return ads_name;
    }

    public void setAds_name(String ads_name) {
        this.ads_name = ads_name;
    }

    public String getAds_ip() {
        return ads_ip;
    }

    public void setAds_ip(String ads_ip) {
        this.ads_ip = ads_ip;
    }

    public String getAds_xl() {
        return ads_xl;
    }

    public void setAds_xl(String ads_xl) {
        this.ads_xl = ads_xl;
    }

    public String getAds_js() {
        return ads_js;
    }

    public void setAds_js(String ads_js) {
        this.ads_js = ads_js;
    }

    public String getAds_qq() {
        return ads_qq;
    }

    public void setAds_qq(String ads_qq) {
        this.ads_qq = ads_qq;
    }

    public String getAds_url() {
        return ads_url;
    }

    public void setAds_url(String ads_url) {
        this.ads_url = ads_url;
    }

    public String getGift_price() {
        return gift_price;
    }

    public void setGift_price(String gift_price) {
        this.gift_price = gift_price;
    }

    public String getGift_last_num() {
        return gift_last_num;
    }

    public void setGift_last_num(String gift_last_num) {
        this.gift_last_num = gift_last_num;
    }

    public String getAds_follow() {
        return ads_follow;
    }

    public void setAds_follow(String ads_follow) {
        this.ads_follow = ads_follow;
    }

    public String getGift_start_time() {
        return gift_start_time;
    }

    public void setGift_start_time(String gift_start_time) {
        this.gift_start_time = gift_start_time;
    }


    public List<BannerImageInfo> getAds_img() {
        return ads_img;
    }

    public void setAds_img(List<BannerImageInfo> ads_img) {
        this.ads_img = ads_img;
    }

    public MobileDetailCollectedRecordListModel getRcv_data() {
        return rcv_data;
    }

    public void setRcv_data(MobileDetailCollectedRecordListModel rcv_data) {
        this.rcv_data = rcv_data;
    }



    public static class BannerImageInfo implements Parcelable {
        private String title;
        private int type;
        private String img_url;
        private String video_url;

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public String getImg_url() {
            return img_url;
        }

        public void setImg_url(String img_url) {
            this.img_url = img_url;
        }

        public String getVideo_url() {
            return video_url;
        }

        public void setVideo_url(String video_url) {
            this.video_url = video_url;
        }

        @Override
        public int describeContents() {
            return 0;
        }

        @Override
        public void writeToParcel(Parcel dest, int flags) {
            dest.writeString(this.title);
            dest.writeInt(this.type);
            dest.writeString(this.img_url);
            dest.writeString(this.video_url);
        }

        public BannerImageInfo() {
        }

        protected BannerImageInfo(Parcel in) {
            this.title = in.readString();
            this.type = in.readInt();
            this.img_url = in.readString();
            this.video_url = in.readString();
        }

        public static final Parcelable.Creator<BannerImageInfo> CREATOR = new Parcelable.Creator<BannerImageInfo>() {
            @Override
            public BannerImageInfo createFromParcel(Parcel source) {
                return new BannerImageInfo(source);
            }

            @Override
            public BannerImageInfo[] newArray(int size) {
                return new BannerImageInfo[size];
            }
        };
    }

    public class MobileDetailCollectedRecordListModel {
        private MobileDetailCollectedRecordModel data_user;
        private List<MobileDetailCollectedRecordModel> data_all;

        public MobileDetailCollectedRecordModel getData_user() {
            return data_user;
        }

        public void setData_user(MobileDetailCollectedRecordModel data_user) {
            this.data_user = data_user;
        }

        public List<MobileDetailCollectedRecordModel> getData_all() {
            return data_all;
        }

        public void setData_all(List<MobileDetailCollectedRecordModel> data_all) {
            this.data_all = data_all;
        }
    }


    public class MobileDetailCollectedRecordModel {
        private String ads_name;
        private String rcv_open_name;
        private String rcv_game_name;
        private String rcv_price;
        private String rcv_time;
        private String rcv_deal_time;
        private String rcv_deal_remark;
        private String rcv_pay_img_url;
        private String rcv_pay_img_dir;
        private String rcv_status;

        public String getAds_name() {
            return ads_name;
        }

        public void setAds_name(String ads_name) {
            this.ads_name = ads_name;
        }

        public String getRcv_open_name() {
            return rcv_open_name;
        }

        public void setRcv_open_name(String rcv_open_name) {
            this.rcv_open_name = rcv_open_name;
        }

        public String getRcv_game_name() {
            return rcv_game_name;
        }

        public void setRcv_game_name(String rcv_game_name) {
            this.rcv_game_name = rcv_game_name;
        }

        public String getRcv_price() {
            return rcv_price;
        }

        public void setRcv_price(String rcv_price) {
            this.rcv_price = rcv_price;
        }

        public String getRcv_time() {
            return rcv_time;
        }

        public void setRcv_time(String rcv_time) {
            this.rcv_time = rcv_time;
        }

        public String getRcv_deal_time() {
            return rcv_deal_time;
        }

        public void setRcv_deal_time(String rcv_deal_time) {
            this.rcv_deal_time = rcv_deal_time;
        }

        public String getRcv_deal_remark() {
            return rcv_deal_remark;
        }

        public void setRcv_deal_remark(String rcv_deal_remark) {
            this.rcv_deal_remark = rcv_deal_remark;
        }

        public String getRcv_pay_img_url() {
            return rcv_pay_img_url;
        }

        public void setRcv_pay_img_url(String rcv_pay_img_url) {
            this.rcv_pay_img_url = rcv_pay_img_url;
        }

        public String getRcv_pay_img_dir() {
            return rcv_pay_img_dir;
        }

        public void setRcv_pay_img_dir(String rcv_pay_img_dir) {
            this.rcv_pay_img_dir = rcv_pay_img_dir;
        }

        public String getRcv_status() {
            return rcv_status;
        }

        public void setRcv_status(String rcv_status) {
            this.rcv_status = rcv_status;
        }
    }
}
